翻訳と辞書
Words near each other
・ FuseDocs (programming)
・ Fusee
・ Fusee (horology)
・ Fuseini Dauda
・ Fuseini Nuhu
・ Fuseki
・ Fusel alcohol
・ Fuselage
・ Fuselloviridae
・ Fusen gum
・ Fusen Ketsugi
・ FuseNet
・ Fusepoint Managed Services
・ Fuseproject
・ Fuser
Fuser (Unix)
・ Fuseta
・ Fush Yu Mang
・ Fusha
・ Fusha Sportive Adriatik
・ Fushan
・ Fushan County
・ Fushan District
・ Fushan Si Temple
・ Fushan Village
・ Fushas
・ Fushatchee
・ Fushazdeh
・ Fusheh
・ Fushengzhuang Railway Station


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Fuser (Unix) : ウィキペディア英語版
Fuser (Unix)

The Unix command fuser is used to show which processes are using a specified file, file system, or unix socket. For example, to check process IDs and users accessing a USB drive:

$ fuser -m -u /mnt/usb1
/mnt/usb1: 1347c(root) 1348c(guido) 1349c(guido)

The command displays the process identifiers of processes using the specified files or file
systems. In the default display mode, each file name is followed by a
letter denoting the type of access:
; c : current directory.
; e : executable being run.
; f : open file.
; F : open file for writing.
; r : root directory.
; m : mmap'ed file or shared library
The command can also be used to check what processes are using a network port:

$ fuser -v -n tcp 80
USER PID ACCESS COMMAND
80/tcp: root 3067 F.... (root)httpd
apache 3096 F.... (apache)httpd
apache 3097 F.... (apache)httpd

The command returns a non-zero code if none of the files are
accessed or in case of a fatal error. If at least one access has succeeded, fuser returns zero.
The output of "fuser" may be useful in diagnosing "resource busy" messages arising when attempting to unmount filesystems.
==Options==

; -k : kills all process accessing a file. For example fuser -k /path/to/your/filename kills all processes accessing this directory without confirmation. Use -i for confirmation
; -i : interactive mode. Prompt before killing process
; -v : verbose.
; -u : append username
; -a : display all files
; -m : name specifies a file on a mounted file system or a block device that is mounted. All processes accessing files on that file system are listed. If a directory file is specified, it is automatically changed to name/. to use any file system that might be mounted on that directory.
Also note that -k sends a SIGKILL to all process. Use the -signal to send a different signal. For a list of signals supported by the fuser run 'fuser -l'

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Fuser (Unix)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.